package com.zhny.sensor.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 禽类品种信息实体类
 * @author zhy
 *
 */
@Entity
@Table(name="poultry_category")
public class PoultryCategory implements Serializable{

	@Id
	private String id;//

	private String number;//编号
	private String name;//品种名称
	private String detail;//详细信息
	private String parentId;//父级类别
	private String createBy;//创建者
	private java.util.Date createDate;//创建时间

	public String getSlaughterHouseId() {
		return slaughterHouseId;
	}

	public void setSlaughterHouseId(String slaughterHouseId) {
		this.slaughterHouseId = slaughterHouseId;
	}

	private String slaughterHouseId;//屠宰场id

	
	public String getId() {		
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getNumber() {		
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}

	public String getName() {		
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getDetail() {		
		return detail;
	}
	public void setDetail(String detail) {
		this.detail = detail;
	}

	public String getParentId() {		
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getCreateBy() {		
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public java.util.Date getCreateDate() {		
		return createDate;
	}
	public void setCreateDate(java.util.Date createDate) {
		this.createDate = createDate;
	}


	
}
